package light.head.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 工资记录表
 */
@Entity
@Table
public class Wage implements Serializable {
	
	
	private static final long serialVersionUID = 1279647653693223424L;
	
	
	private Integer code;
	private Integer user;					// 用户编号
	private Integer basicWage;				// 基本工资
	private Integer discipline;				//奖励
	private Integer realWages;				//工资
	private Integer dtime;					//日期
	private Integer debie;					//扣除
	private Integer cu;						//创建人
	private Date ct;						//创建时
	private Boolean deleted;				//是否删除
	private String remark;					//备注
	
	
	
	
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getUser() {
		return user;
	}
	@Column(length = 10)
	public Integer getBasicWage() {
		return basicWage;
	}
	
	@Column(length = 10)
	public Integer getDiscipline() {
		return discipline;
	}
	
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	
	@Column
	public Integer getRealWages() {
		return realWages;
	}
	
	@Column
	public Integer getDtime() {
		return dtime;
	}
	
	@Column
	public Integer getDebie() {
		return debie;
	}
	
	@Column
	public Integer getCu() {
		return cu;
	}
	
	@Column
	public Date getCt() {
		return ct;
	}
	
	@Column
	public String getRemark() {
		return remark;
	}
	
	
	
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setUser(Integer user) {
		this.user = user;
	}
	public void setBasicWage(Integer basicWage) {
		this.basicWage = basicWage;
	}
	
	public void setDiscipline(Integer discipline) {
		this.discipline = discipline;
	}
	public void setRealWages(Integer realWages) {
		this.realWages = realWages;
	}
	public void setDtime(Integer dtime) {
		this.dtime = dtime;
	}
	public void setDebie(Integer debie) {
		this.debie = debie;
	}
	public void setCu(Integer cu) {
		this.cu = cu;
	}
	public void setCt(Date ct) {
		this.ct = ct;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	
	
	

}
